﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucSPNew.ascx.cs" Inherits="ucControl_ucSPNew" %>
<div id="tickerContainer">
    <dl class="tieude_left">
        <div style="margin-top: 0px; text-align: center; font-weight: normal; font-size: 16px">
            <dt class="">Sản phẩm hot</dt>
        </div>
    </dl>
    <dl id="ticker" style="overflow: hidden;">
        <asp:Repeater ID="rpSP" runat="server">
            <ItemTemplate>
                <div style="margin-top: 0px;">
                    <dt class="heading">
                        <%#Eval("ItemName")%>
                        <br />
                    </dt>
                    <dd class="text">
                        <%--<asp:Image ID="Image3" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/img/Items/" + Eval("ImageURL")+ "&width=100&heigh=70&dd=true" %>' />--%>
                        <table style="text-align: center">
                            <tr>
                                <td>
                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/img/icon_new_2.gif" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <asp:HyperLink ID="hyp" runat="server" NavigateUrl='<%#   "~/Chi-tiet-san-pham.aspx?id=" + Eval("ItemID")+ "&idgroup="+Eval("IDGroup") %>'>
                                        <asp:Image ID="Image3" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/img/Items/" + Eval("ImageURL")+ "&width=100&heigh=70&dd=true" %>' />
                                    </asp:HyperLink>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <p style="font-family: Arial; font-weight: bold; color: Red; padding-top: 8px; font-size: 13px">
                                        <%# double.Parse (Eval("BaseSellingPrice").ToString()).ToString("0,00.##")%>  
                                        VNĐ</p>
                                </td>
                            </tr>
                        </table>
                    </dd>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </dl>
</div>
